package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户预约信息对象 customer_appointments
 * 
 * @author LK
 * @date 2024-06-22
 */
public class CustomerAppointments extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户唯一标识 */
    @Excel(name = "客户唯一标识")
    private String customerId;

    /** 预约服务的时间 */
    @Excel(name = "预约服务的时间")
    private String appointmentTime;

    /** 客户预约的服务类型，0保养；1维修；2检测 */
    @Excel(name = "客户预约的服务类型，0保养；1维修；2检测")
    private String serviceType;

    /** 预约是否被取消，0表示未取消，1表示取消 */
    @Excel(name = "预约是否被取消，0表示未取消，1表示取消")
    private String isCanceled;

    /** 负责该预约的技师编号 */
    @Excel(name = "负责该预约的技师编号")
    private String technicianId;

    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setAppointmentTime(String appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public String getAppointmentTime() 
    {
        return appointmentTime;
    }
    public void setServiceType(String serviceType) 
    {
        this.serviceType = serviceType;
    }

    public String getServiceType() 
    {
        return serviceType;
    }
    public void setIsCanceled(String isCanceled) 
    {
        this.isCanceled = isCanceled;
    }

    public String getIsCanceled() 
    {
        return isCanceled;
    }
    public void setTechnicianId(String technicianId) 
    {
        this.technicianId = technicianId;
    }

    public String getTechnicianId() 
    {
        return technicianId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("appointmentTime", getAppointmentTime())
            .append("serviceType", getServiceType())
            .append("isCanceled", getIsCanceled())
            .append("technicianId", getTechnicianId())
            .toString();
    }
}
